package com.company;

public class Demo {
    public static void main(String[] args){
        int m=500;
        Integer obj=m;  //自动装箱
        int n=obj; //自动拆箱
        System.out.println("n="+n);

        Integer obj1=500;
    }
}
